Completion Light for HOL Light

نویسنده

  • Tom Ridge
چکیده

For simplification to have good theoretical properties, the set of simp rules must be terminating and confluent. Completion is the process of transforming a set of simp rules, and attempting to make them terminating and confluent. We give a brief introduction to the theory of completion, and then describe an implementation of (basic) completion in HOL Light. Our notation follows that in [BN98]. Rewriting is one of the main techniques used in theorem proving. When using a set of rewrite rules, one desires that they are terminating (so that one does not have to spend time waiting for a run of rewriting that never terminates). Additionally, it is helpful if the rules are confluent. Confluence ensures that normal forms for equal terms are the same. This gives rise to an easy method for proving equalities: simply reduce each side to the normal form, and check that the normal forms are the same. The question then arises: how can one ensure that a set of rules are terminating and confluent? Termination is handled in a straightforward way: one provides a termination ordering (essentially a well founded ordering on terms obeying some further properties to ensure the termination measure interacts well with rewriting), such that each rule l → r is a reduction wrt. the ordering. Confluence is trickier, and completion is the process of taking a set of rules and adding further derived rules in an attempt to produce an equivalent set of confluent rules. Completion takes a set of rewrite rules

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Interpretation of Isabelle/HOL in HOL Light

We define an interpretation of the Isabelle/HOL logic in HOL Light and its metalanguage, OCaml. Some aspects of the Isabelle logic are not representable directly in the HOL Light object logic. The interpretation thus takes the form of a set of elaboration rules, where features of the Isabelle logic that cannot be represented directly are elaborated to functors in OCaml. We demonstrate the effec...

متن کامل

Proving Valid Quantified Boolean Formulas in HOL Light

This paper describes the integration of Squolem, Quantified Boolean Formulas (QBF) solver, with the interactive theorem prover HOL Light. Squolem generates certificates of validity which are based on witness functions. The certificates are checked in HOL Light by constructing proofs based on these certificates. The presented approach allows HOL Light users to prove larger valid QBF problems tha...

متن کامل

Importing HOL into Isabelle/HOL

We developed an importer from both HOL 4 and HOL-light into Isabelle/HOL. The importer works by replaying proofs within Isabelle/HOL that have been recorded in HOL 4 or HOL-light and is therefore completely safe. Concepts in the source HOL system, that is types and constants, can be mapped to concepts in Isabelle/HOL; this facilitates a true integration of imported theorems and theorems that ar...

متن کامل

Cooperating Theorem Provers: A Case Study Combining HOL-Light and CVC Lite

This paper is a case study in combining theorem provers. We define a derived rule in HOL-Light, CVC PROVE, which calls CVC Lite and translates the resulting proof object back to HOL-Light. This technique fundamentally expands the capabilities of HOL-Light while preserving soundness.

متن کامل

Steps towards Verified Implementations of HOL Light

This short paper describes our plans and progress towards construction of verified ML implementations of HOL Light: the first formally proved soundness result for an LCF-style prover. Building on Harrison’s formalisation of the HOL Light logic and our previous work on proof-producing synthesis of ML, we have produced verified implementations of each of HOL Light’s kernel functions. What remains...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005